package bean;

/**
 *
 * @author Cesar
 */
import java.util.ArrayList;  
import java.util.List;  
import javax.annotation.PostConstruct;   
import javax.faces.bean.ManagedBean;
@ManagedBean  
public class GalleriaBean {  
  
    private List<String> lancamentosPc;  
    private List<String> lancamentosPlay;  
    private List<String> lancamentosXbox;  
    private List<String> lancamentosWii;  

    @PostConstruct  
    public void init() {  
        setLancamentosPc(new ArrayList<String>());  
        setLancamentosPlay(new ArrayList<String>());  
        setLancamentosXbox(new ArrayList<String>());  
        setLancamentosWii(new ArrayList<String>());  
  
        for(int i=1;i<=8;i++) {  
            getLancamentosPc().add("css/images/lancamentosPC/image"+i+".jpg");                         
            getLancamentosPlay().add("css/images/lancamentosPlay/image"+i+".jpg");                         
            getLancamentosWii().add("css/images/lancamentosWii/image"+i+".jpg");   
            getLancamentosXbox().add("css/images/lancamentosXbox/image"+i+".jpg");                                                           
        }                    
    } 

    public List<String> getLancamentosPc() {
        return lancamentosPc;
    }

    public void setLancamentosPc(List<String> lancamentosPc) {
        this.lancamentosPc = lancamentosPc;
    }

    public List<String> getLancamentosPlay() {
        return lancamentosPlay;
    }

    public void setLancamentosPlay(List<String> lancamentosPlay) {
        this.lancamentosPlay = lancamentosPlay;
    }

    public List<String> getLancamentosXbox() {
        return lancamentosXbox;
    }

    public void setLancamentosXbox(List<String> lancamentosXbox) {
        this.lancamentosXbox = lancamentosXbox;
    }

    public List<String> getLancamentosWii() {
        return lancamentosWii;
    }

    public void setLancamentosWii(List<String> lancamentosWii) {
        this.lancamentosWii = lancamentosWii;
    }
}
